<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table border="1" width="60%" cellpadding="0">
        <thead>
            <tr>姓名</tr>
            <tr>电话</tr>
            <tr>操作</tr>
        </thead>
        <tbody>
            <tr th:each="linke :${pageInfo.list}">
                <td th:text="${linke.name}"></td>
                <td th:text="${linke.phone}"></td>
                <td>
                    <a th:href="@{/linke/del(id=${linke.id})}">删除</a>
                    <a th:href="@{/linke/findById(id=${linke.id})}">修改</a>
                </td>
            </tr>
        </tbody>
    </table>
    <a style="margin-left: 10px"
       th:each="i:${#numbers.sequence(1,pageInfo.pages)}"
       th:text="${i}"
       th:href="@{/linke/findAll(pageNO=${i})}">
    </a>

    <div>
        <a href="/html/linke/add.html">添加</a>
    </div>
</body>
</html>